3.4 \(\int \left (a+b x^2\right ) \left (c+d x^2\right ) \, dx\)

Optimal. Leaf size=28 \[ \frac{1}{3} x^3 (a d+b c)+a c x+\frac{1}{5} b d x^5 \]

[Out]

a*c*x + ((b*c + a*d)*x^3)/3 + (b*d*x^5)/5

_______________________________________________________________________________________

Rubi [A]  time = 0.0369075, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{1}{3} x^3 (a d+b c)+a c x+\frac{1}{5} b d x^5 \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x^2)*(c + d*x^2),x]

[Out]

a*c*x + ((b*c + a*d)*x^3)/3 + (b*d*x^5)/5

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{b d x^{5}}{5} + c \int a\, dx + x^{3} \left (\frac{a d}{3} + \frac{b c}{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x**2+a)*(d*x**2+c),x)

[Out]

b*d*x**5/5 + c*Integral(a, x) + x**3*(a*d/3 + b*c/3)

_______________________________________________________________________________________

Mathematica [A]  time = 0.00877041, size = 28, normalized size = 1. \[ \frac{1}{3} x^3 (a d+b c)+a c x+\frac{1}{5} b d x^5 \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*x^2)*(c + d*x^2),x]

[Out]

a*c*x + ((b*c + a*d)*x^3)/3 + (b*d*x^5)/5

_______________________________________________________________________________________

Maple [A]  time = 0.002, size = 25, normalized size = 0.9 \[ acx+{\frac{ \left ( ad+bc \right ){x}^{3}}{3}}+{\frac{bd{x}^{5}}{5}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x^2+a)*(d*x^2+c),x)

[Out]

a*c*x+1/3*(a*d+b*c)*x^3+1/5*b*d*x^5

_______________________________________________________________________________________

Maxima [A]  time = 1.34531, size = 32, normalized size = 1.14 \[ \frac{1}{5} \, b d x^{5} + \frac{1}{3} \,{\left (b c + a d\right )} x^{3} + a c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)*(d*x^2 + c),x, algorithm="maxima")

[Out]

1/5*b*d*x^5 + 1/3*(b*c + a*d)*x^3 + a*c*x

_______________________________________________________________________________________

Fricas [A]  time = 0.176008, size = 1, normalized size = 0.04 \[ \frac{1}{5} x^{5} d b + \frac{1}{3} x^{3} c b + \frac{1}{3} x^{3} d a + x c a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)*(d*x^2 + c),x, algorithm="fricas")

[Out]

1/5*x^5*d*b + 1/3*x^3*c*b + 1/3*x^3*d*a + x*c*a

_______________________________________________________________________________________

Sympy [A]  time = 0.084437, size = 26, normalized size = 0.93 \[ a c x + \frac{b d x^{5}}{5} + x^{3} \left (\frac{a d}{3} + \frac{b c}{3}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x**2+a)*(d*x**2+c),x)

[Out]

a*c*x + b*d*x**5/5 + x**3*(a*d/3 + b*c/3)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.23503, size = 35, normalized size = 1.25 \[ \frac{1}{5} \, b d x^{5} + \frac{1}{3} \, b c x^{3} + \frac{1}{3} \, a d x^{3} + a c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)*(d*x^2 + c),x, algorithm="giac")

[Out]

1/5*b*d*x^5 + 1/3*b*c*x^3 + 1/3*a*d*x^3 + a*c*x